import {get,post} from '@/puigins/request.js'

export function getBlogListByPage(page,pageSize){
	return get("blog/getBlogList",{page,pageSize})
}

export function getAllTags(){
	return get("tag/getAllTags")
}
export function getBlogById(id){
	return get("blog/getBlogById",{id})
}

// export function addComment(form){
// 	return post("blog/addComment",form)
// }

// export function addReply(cid,content){
// 	return post("blog/replyComment",{cid,content})
// }

export function SelectBlogByTitle(query){
	return get("blog/selectBlogByTitle",{query})
}